﻿<Page
    x:Class="PanViewDemoApp.ZeroCtrPtDrawing"
    IsTabStop="false"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:PanViewDemoApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontSize="30"
    Foreground="Black">
    <Canvas>
        <Border
            Height="120"
            Width="200"
            Background="#400000FF">
            <Border.RenderTransform>
                <CompositeTransform
                    TranslateX="80"
                    TranslateY="60" />
            </Border.RenderTransform>
            <Line
                X1="0"
                Y1="0"
                X2="100"
                Y2="30"
                Stroke="Blue"
                StrokeThickness="2"
                StrokeMiterLimit="9" />
        </Border>
        <Border
            Height="120"
            Width="200"
            Background="#40FF0000"
            UseLayoutRounding="False"
            d:LayoutRounding="Auto">
            <Border.RenderTransform>
                <CompositeTransform
                    TranslateX="80"
                    TranslateY="60"
                    Rotation="40" />
            </Border.RenderTransform>
        </Border>
        <Border
            Height="120"
            Width="200"
            Background="#4000FF00"
            d:IsLocked="True">
            <Border.RenderTransform>
                <CompositeTransform
                    TranslateX="80"
                    TranslateY="60"
                    Rotation="40"
                    CenterX="100"
                    CenterY="30" />
            </Border.RenderTransform>
            <Line
                X1="0"
                Y1="0"
                X2="100"
                Y2="30"
                Stroke="Green"
                StrokeThickness="2" />
        </Border>
        <Line
            X1="0"
            Y1="90"
            X2="300"
            Y2="90"
            Stroke="Red"
            StrokeThickness="2" />
        <Line
            X1="180"
            Y1="0"
            X2="180"
            Y2="300"
            Stroke="Red"
            StrokeThickness="2" />
        <Ellipse
            Width="4"
            Height="4"
            Fill="Black"
            Canvas.Left="178"
            Canvas.Top="88" />
        <Path
            Data="M219.41968,89.892921 C217.12605,40.804371 155.50885,36.148876 142.30785,77.743065"
            Height="41.027"
            Canvas.Left="141.833"
            Stretch="Fill"
            Stroke="Blue"
            Canvas.Top="50.051"
            UseLayoutRounding="False"
            Width="78.183"
            StrokeThickness="2" />
        <Path
            Data="M209.28156,89.941551 C208.64893,63.561974 181.19322,52.828968 163.85944,64.726036"
            Height="31.04"
            Canvas.Left="163.125"
            Stretch="Fill"
            Stroke="Green"
            Canvas.Top="60.085"
            UseLayoutRounding="False"
            Width="46.875"
            StrokeThickness="2"
            d:IsLocked="True" />
        <TextBlock
            Canvas.Left="66"
            Text="B"
            Canvas.Top="56"
            FontSize="21.333" />
        <TextBlock
            Canvas.Left="105"
            Text="G"
            FontSize="21.333"
            Canvas.Top="-2" />
        <TextBlock
            Canvas.Left="202"
            Text="b"
            Canvas.Top="49"
            FontSize="21.333" />
        <TextBlock
            Canvas.Left="187"
            Text="g"
            Canvas.Top="52"
            FontSize="21.333" />
        <TextBlock
            Canvas.Left="182"
            Text="C"
            Canvas.Top="91.078"
            FontSize="21.333" />
    </Canvas>
</Page>